import { withRouter } from 'next/router'
import Link from 'next/link'
import Comp from '../components/comp'

import { Button } from 'antd'

const A = ({ router }) => <Link href="#aaa"><Comp>A {router.query.id}</Comp></Link>

export default withRouter(A)